package com.edu.library;

/**
 * @author cj
 * @date 2018/11/22
 */
public class Person {
    private PersonConfig personConfig;

    public Person(PersonConfig personConfig) {
        this.personConfig = personConfig;
    }

    public  void say(){
        System.out.println(this.personConfig.getName() + " say: " + this.personConfig.getWord());
    }
}
